#ifndef AISERVER_MSG_H
#define AISERVER_MSG_H
#include "cmd.h"
#include <stdint.h>

typedef struct _FaceInfo
{
    uint8_t faceResult;         //0失败 1成功
    uint8_t eyeOpen;            //0闭眼 1睁眼
    uint8_t eyesScore;          //眼睛属性置信度
    uint8_t faceBrightness;//人脸图片亮度
    uint8_t faceClarity;        //清晰度
    uint8_t faceScore;          //检测目标置信度
}FaceInfo;

typedef struct _IrisInfo
{
    uint8_t irisResult;         //0失败 1成功
    uint8_t irisScore;          //虹膜遮挡评分
    uint8_t irisBrightness;//虹膜图片亮度
    uint8_t irisClarity;        //清晰度 
    uint8_t irisQuality;       //质量
}IrisInfo;

typedef struct _AiserverEventCmd {
    EventInfo 		  		 		cmd_info;       //命令类型
    FaceInfo                       faceInfo;            //人脸信息
    IrisInfo                            irisInfo;            //虹膜信息
}AiserverEventCmd;
//进程监护通知
typedef struct _process_info {			//指令参数
	COMMANDCODE   cmd_code;
  int process_index;
}process_info;


#endif // AISERVER_MSG_H
